import request from '@/utils/request'

// 查询工程量清单列表
export function listBaseBaContractSheet(query) {
  return request({
    url: '/jl_base/baseBaContractSheet/list',
    method: 'get',
    params: query
  })
}

// 查询工程量清单详细
export function getBaseBaContractSheet(sheetId) {
  return request({
    url: '/jl_base/baseBaContractSheet/' + sheetId,
    method: 'get'
  })
}

// 新增工程量清单
export function addBaseBaContractSheet(data) {
  return request({
    url: '/jl_base/baseBaContractSheet',
    method: 'post',
    data: data
  })
}

// 修改工程量清单
export function updateBaseBaContractSheet(data) {
  return request({
    url: '/jl_base/baseBaContractSheet',
    method: 'put',
    data: data
  })
}

// 删除工程量清单
export function delBaseBaContractSheet(sheetId) {
  return request({
    url: '/jl_base/baseBaContractSheet/' + sheetId,
    method: 'delete'
  })
}
